package cn.mxb.logic.service;

import java.util.List;

import cn.mxb.floor.pagination.Result;
import cn.mxb.logic.entity.MxbPrsinfo;

public interface IMxbPrsinfoService {
	
	/**
	 *  根据property的value查询 
	 * @param property
	 * @param value
	 * @return MxbPrsinfo
	 */
	public MxbPrsinfo findByProperty(String property,String value);
	/**
	 * @return_type: Result<MxbPrsinfo>
	 * @file_name: 分页查询
	 */
	public Result<MxbPrsinfo> find(MxbPrsinfo mxbPrsinfo,int page, int row);
	
	/**
	 * @return_type: MxbPrsinfo
	 * @file_name: 添加
	 */
	public MxbPrsinfo add(MxbPrsinfo mxbPrsinfo);
	
	/**
	 * 删除
	 * @return_type: void
	 */
	public void delete(int id);
	
	/**
	 * 修改
	 * @return_type: void
	 */
	public void update(MxbPrsinfo mxbPrsinfo);
	
	public void updatetablebyproperty(String table,String field,String property,String value,final Object fieldvalue);
    /**
     * 根据property的value查询 
     * @return_type: List<MxbPrsinfo>
     */
    public List<MxbPrsinfo> findListByProperty(String property,String value);
    
    /**
     * 全部查询
     * @return_type: List<MxbPrsinfo>
     */
    public List<MxbPrsinfo> findAllList();
    
}
